﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfDealerRegTwo.aspx.cs" Inherits="msBsc.WebUi.wfDealerRegTwo" %>

<!DOCTYPE HTML>
<html>
<head id="Head1" runat="server"> 
    <title>商户入驻申请</title>
    <link rel="shortcut icon" href="/themes/Style1/Image/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/??themes/Style1/StyleQt.css,themes/Style1/reg2.css,themes/Style1/Dealer.css" />  
    <script src="/??jqPlugin/js/jquery-1.8.3.min.js,js/jBase.js,js/jBPage.js,themes/Style1/jsQt.js" type="text/javascript"></script>
    <!--head fix rgn--> 
    <style type="text/css"> 
        #fileQueue { width: 490px; margin: 5px; height: 60px; overflow: auto; border: 1px solid #E5E5E5; margin-bottom: 10px; }
    </style>
    <script type="text/javascript">
        $(window).load(function () {
            $.ploadFile("kindeditor", function (script, textStatus) {
                $.setUploadFile('btnsfza', { blSave: '0' }, function (data) {
                    data.url && $("#imgsfza").attr('src', data.url).attr('for', data.url);
                });
                $.setUploadFile('btnsfzb', { FileId: '', RelId: $('#txtRelId').val(), rType1: '0', rType2: '' }, function (data) {
                    data.url && $("#imgsfzb").attr('src', data.url).attr('for', data.url);
                });
                $.setUploadFile('btncmpa', { FileId: '', RelId: $('#txtRelId').val(), rType1: '0', rType2: '' }, function (data) {
                    data.url && $("#imgcmpa").attr('src', data.url).attr('for', data.url);
                });
                $.setUploadFile('btncmpb', { FileId: '', RelId: $('#txtRelId').val(), rType1: '0', rType2: '' }, function (data) {
                    data.url && $("#imgcmpb").attr('src', data.url).attr('for', data.url);
                });
            });
        });

        function saveToNext() { 
            var _jsParam = new jsonRow(); 
            _jsParam.AddCell("ACTION", "REGIST_STEP2");
            _jsParam.AddCell("REL_ID", $("#txtRelId").val());
            _jsParam.AddCell("IMG_SFZA", $("#imgsfza").attr('for'));
            _jsParam.AddCell("IMG_SFZB", $("#imgsfzb").attr('for'));
            _jsParam.AddCell("IMG_CMPA", $("#imgcmpa").attr('for'));
            _jsParam.AddCell("IMG_CMPB", $("#imgcmpb").attr('for'));
            ajaxComm(_jsParam);
            
        };
    </script> 
</head>
<body>
    <div id="mallPage" class="tms-page mallAct tmall-  page-not-market">
        <!-- -->
        <!--商城通用顶通-->
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderTopHtml()%>
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderLogoHtml("会员中心")%>
        <div id="content" class="content" style=" padding-top: 3px;">
            <div class="page lang-zh-S">
                <div id="mytaobao-panel" class="grid-c2">
                    <div class="col-main" id="J_Col_Main" style="padding-bottom: 0;">
                        <div class="main-wrap">
                            <div id="main-content">
                            
                    <!-- BEGIN col-main -->
                        
		<div class="steps">
	<ol>
		<li class="active"><i>1</i><span class="tsl" >填写申请表</span></li>
		<li class="active"><i>2</i><span class="tsl" >上传证件图片</span></li>
		<li><i class="iconfont">3</i><span class="tsl" >信息审核</span></li>
	</ol>			
	</div>
    
        <div style="height: 15px; clear: both;"> 
        </div>

		<div class="email-sent">
			<h2 ><span class="tsl" style="color:#c40000;" >*注意：图片文件大小不能超过1M</span>&nbsp;<em><span id="Span3"></span></em></h2>
			<h2 ><span class="tsl" >1.身份证照片正反面各一张</span>&nbsp;<em><span id="spnMailNme"></span></em></h2>
			<p class="tsl"></p> 
            <div>
                <div style="float:left;background-color: #ddd; margin:5px;">
                    <div >
                        <input value="" type="hidden" id="txtsfzaimgid"  name="txtsfzaimgid"/>
                        <img id="imgsfza" src="UpLoad/System/1410/07/f563405676e75fcb.jpg" for="" style=" margin:5px 5px 0px 5px; width:200px; height:160px;"/>
                    </div>
                    <div  style="  vertical-align:middle; padding-bottom:5px; width:180px;">
                        <span style=" margin-left:5px;">a.身份证正面</span><a  id="btnsfza" target="_self" value="上传图片" style=" margin:6px; cursor:pointer;"  onclick="javascript:return false;" >上传图片</a>
                    </div>
                </div>
                <div style="float:left;background-color: #ddd; margin:5px;">
                    <div >
                        <input value="" type="hidden" id="txtsfzbimgid"  name="txtsfzbimgid"/>
                        <img id="imgsfzb"  src="UpLoad/System/1410/07/f563405676e75fcb.jpg" for="" style=" margin:5px 5px 0px 5px; width:200px; height:160px;"/>
                    </div>
                    <div  style="  vertical-align:middle; padding-bottom:5px; width:180px;">
                        <span style=" margin-left:5px;">b.身份证反面</span><a  id="btnsfzb" target="_self" value="上传图片" style=" margin:6px; cursor:pointer;"  onclick="javascript:return false;" >上传图片</a>
                    </div>
                </div>
            </div>
        <div style="height: 25px; clear: both;">
        </div>
        
        <div id="divCmpList" style="display:none;">
			<h2 ><span class="tsl" >2.公司营业执照和税务登记证</span>&nbsp;<em><span id="Span1"></span></em></h2>
			<p class="tsl" ></p>
            <div>
                <div style="float:left;background-color: #ddd; margin:5px;">
                    <div >
                        <input value="" type="hidden" id="txtcmpaimgid"  name="txtcmpaimgid"/>
                        <img id="imgcmpa"  src="UpLoad/System/1410/07/f563405676e75fcb.jpg" for="" style=" margin:5px 5px 0px 5px; width:200px; height:160px;"/>
                    </div>
                    <div  style="  vertical-align:middle; padding-bottom:5px; width:180px;">
                        <span style=" margin-left:5px;">a.营业执照</span><a  id="btncmpa" target="_self" value="上传图片" style=" margin:6px; cursor:pointer;" onclick="javascript:return false;" >上传图片</a>
                    </div>
                </div>
                <div style="float:left;background-color: #ddd; margin:5px;">
                    <div >
                        <input value="" type="hidden" id="txtcmpbimgid"  name="txtcmpbimgid"/>
                        <img id="imgcmpb"  src="UpLoad/System/1410/07/f563405676e75fcb.jpg" for="" style=" margin:5px 5px 0px 5px; width:200px; height:160px;"/>
                    </div>
                    <div  style="  vertical-align:middle; padding-bottom:5px; width:180px;">
                        <span style=" margin-left:5px;">b.税务登记证</span><a  id="btncmpb" target="_self" value="上传图片" style=" margin:6px; cursor:pointer;" onclick="javascript:return false;" >上传图片</a>
                    </div>
                </div>
            </div>
            
        <div style="height: 15px; clear: both;">
        </div>
         
        </div>

         
			<h2 ><span class="tsl" >提交后，优速购商城工作人员将在5个工作日内完成审核。</span>&nbsp;<em><span id="Span2"></span></em></h2> 
			<div class="email-sent-op"> 
				<a class="btn tsl" target="_self"  href="javascript:void(0);return false;" id="J_GoToEmailWeb" onclick="saveToNext();">确认提交审核</a> 
			</div> 
			</div>
        <div style="height: 25px; clear: both;">
        </div> 
    <input value="" type="hidden" id="txtRelId"  name="txtRelId"/> 
                    <!-- end col-main -->
                            </div>
                        </div>
                    </div>
                    <div class="col-sub" id="J_Col_Sub">
                        <%=new msBsc.WebUi.Code.QtHtmlGet().GetCustomMenu()%>
                    </div>
                </div>
                <!-- end mytaobao-panel -->
            </div>
        </div>
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetFloorHtml()%>
    </div>
</body>
</html>
